home *** CD-ROM | disk | FTP | other *** search
- property pSprite, spriteNum
- global gPiece
-
- on beginSprite me
- pSprite = sprite(spriteNum)
- whoPiece = pSprite.member.name.symbol
- gPiece[whoPiece].add(pSprite)
- end
-
- on blink me
- pSprite.blend = 0
- s = the ticks + 5
- repeat while the ticks < s
- updateStage()
- end repeat
- pSprite.blend = 100
- s = the ticks + 5
- repeat while the ticks < s
- updateStage()
- end repeat
- pSprite.blend = 0
- s = the ticks + 5
- repeat while the ticks < s
- updateStage()
- end repeat
- pSprite.blend = 100
- s = the ticks + 5
- repeat while the ticks < s
- updateStage()
- end repeat
- pSprite.blend = 0
- s = the ticks + 5
- repeat while the ticks < s
- updateStage()
- end repeat
- pSprite.blend = 100
- s = the ticks + 5
- repeat while the ticks < s
- updateStage()
- end repeat
- end
-